package pacBioSimple;

public class AlignmentObject {

	private String a,template;
	private int gap,ex;
	private double score;
	private  boolean flag =false;
	
	public boolean isFlag() {
		return flag;
	}
	public void setFlag(boolean flag) {
		this.flag = flag;
	}
	public String getA() {
		return a;
	}
	public void setA(String a) {
		this.a = a;
	}
	public String getTemplate() {
		return template;
	}
	public void setTemplate(String template) {
		this.template = template;
	}
	public int getGap() {
		return gap;
	}
	public void setGap(int gap) {
		this.gap = gap;
	}
	public int getEx() {
		return ex;
	}
	public void setEx(int ex) {
		this.ex = ex;
	}
	public void setScore(double score)
	{
		this.score=score;
	}
	public double getScore()
	{
		return this.score;
	}
	
	public String toString()
	{
		StringBuilder sb = new StringBuilder();
		if(a!=null)
		{
			sb.append(a + "\n");
		}
		else
		{
			sb.append("a empty \n");
		}
		if(template!=null)
		{
			sb.append(template + "\n");
		}
		else
		{
			sb.append("template empty \n");
		}
		sb.append(score + "\n");
		return sb.toString();
		
	}
}
